package com.finance.capacity.siteDetail.capService;

import com.finance.capacity.siteDetail.bean.pojo.SiteDetail;
import com.finance.capacity.siteDetail.bean.pojo.SiteDetailList;
import com.finance.framework.lang.Page;
import com.finance.framework.lang.PageResultBO;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by liyue on 2017/8/24.
 */
public interface ISiteDetailService {
    List<SiteDetailList> maintainList(SiteDetailList siteDetailList);

    PageResultBO<SiteDetail> capSummaryListByPage(Page page);

    List<SiteDetailList> exportMaintainList(SiteDetailList siteDetailList);

    SiteDetailList getSiteCapInfo(String siteDetailId);

    List<SiteDetail> exportSummaryList(SiteDetailList siteDetailList);

    List<SiteDetail> siteCapDetail (String siteId,String siteDate);

    Boolean checkSiteDetail(String id,String  updateUid,int status);

    SiteDetailList getSiteDetailById(Long id);

    BigDecimal getMoreAvgEffOrderNum(String id,String siteDate,BigDecimal avgNum);

    BigDecimal getLessAvgEffOrderNum(String id,String siteDate,BigDecimal avgNum);

    BigDecimal getAvgEffOrderNum(String id,String siteDate);



}
